(function() {
	var footerUtil =  {
		init : function () {
			var me = this;
			$('#foot_wx_icon').bind('click',function() {
				if(event.preventDefault){
				    event.preventDefault();
				}else{
				    event.returnValue = false;
				}
				if(!me.alertify) {
					var Alertify = require('home:widget/ui/alertify/alertify.js');
					me.alertify = new Alertify({
						showButton:false,
						showTitle:false
					});
				}
				var error_message = 'alertify';
				me.alertify.setMessage('<img src="/static/common/widget/footer/erweima.jpg"><div style="">发现->扫一扫，每日动态尽在眼底！</div>');
				var opts = {'height':'450px','width':'420px'};
				me.alertify.show(opts);
			});
		}
	}
	footerUtil.init();
})();